package com.ftl.games;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

public class Config {

	public static final String 		FB_APP_ID 			= "188035294583071";
	public static final String 		FB_PAGE_ID 			= "186971268025782";
	public static final String 		FB_PAGE_ADMIN 		= "100002597175339"; 
	public static final String[] 	FB_APP_PERMISSIONS 	= new String[]{ "offline_access", "read_stream", "publish_stream","manage_pages","user_photos" };
	public static final String		FB_PAGE_ALBUM_ID	= "187390967983812";
	public static final String		FB_NOMBRE_ALBUM		= "Album Promo";
	
	protected static final int PANTALLA_MAIN = 1;
	protected static final int PANTALLA_PUBLICAR_FOTO = 2;
	
    protected static void cambiarDePantalla(int pantalla,Bundle parametros,Context context)
    {
    	Intent i = new Intent();
    	Activity activity = (Activity)context;

    	if (parametros != null)
			i.putExtras(parametros);

    	switch (pantalla) {
		case PANTALLA_PUBLICAR_FOTO:
			i.setClass(context, FBUploadActivity.class);
			activity.startActivity(i);
			break;
		case PANTALLA_MAIN:
			i.setClass(context,GriegoActivity.class);
			activity.startActivity(i);
			break;

		default:
			break;
		}
    	
    }
	
	protected static void cambiarDePantalla(int pantalla,Context context)
    {
		cambiarDePantalla(pantalla, null, context);
    }	
	
}
